package cn.backpackerxl.entity;

import cn.backpackerxl.easyJDBC.annotation.*;
import cn.backpackerxl.easyJDBC.util.IdType;
import lombok.Data;

import java.util.Date;

/**
 * @author: backpackerxl
 * @create: 2021/12/29
 * @filename: Student
 **/
@Table(show = true)
@Data
public class Student {
    @Id(strategy = IdType.AUTO)
    private int id;
    private String name;
    private int sex;
    private int age;
    private String hobey;
    @DFormat
    private Date createTime;
    @IgnoreField
    private Source source;
}
